package com.atguigu.jxc.dao;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.Supplier;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author gwk
 * @create 2021 -09 -04 13:53
 */
public interface SupplierDao {
    List<Supplier> getList(@Param("offSet") Integer offSet,
                           @Param("rows") Integer rows,
                           @Param("supplierName") String supplierName);
    Integer getTotal(@Param("supplierName") String supplierName);

    Supplier findSupplierByName(String supplierName);

    Integer addSupplier(Supplier supplier);

    Integer updateSupplier(Supplier supplier);

    Integer delete(@Param("ids") List ids);

}
